<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', [App\Http\Controllers\HomeController::class, 'index']);
Route::get('/getPwd', [App\Http\Controllers\HomeController::class, 'getPwd']);
//置为使用
Route::get('/setUse/{id}', [App\Http\Controllers\HomeController::class, 'setUse']);
//置为不适用
Route::get('/unsetUse/{id}', [App\Http\Controllers\HomeController::class, 'unsetUse']);
//删除密码
Route::get('/delete/{id}', [App\Http\Controllers\HomeController::class, 'delete']);
Route::post('/ruleGetPwd', [App\Http\Controllers\HomeController::class, 'ruleGetPwd']);



